<?php
/**
 * Feeds manager View
 *
 * @package		FVB_crawler
 * @subpackage	Link Manager
 * @link		http://yopensource.com
 * @author		yopensource
 * @copyright 	yopensource (yopensource@gmail.com)
 * @license		Commercial
 */

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );

jimport( 'joomla.application.component.view');

// Set the table directory
JTable::addIncludePath(JPATH_COMPONENT_ADMINISTRATOR.DS.'tables');

/**
 * HTML View class for the Feeds manager views
 *
 * @static
 * @package		YOS
 * @subpackage	FVB_Crawler
 * @since 1.0
 */
class FVBViewMedias extends JView
{
	function display($tpl = null)
	{
		global $mainframe,$option;

		// Set the toolbar
		$this->_setToolBar();
		$model=$this->getModel('medias');
		$data		= $model->getData();

		$this->assignRef('data',$data);		
		parent::display($tpl);
	}

	function _setToolBar()
	{
		JHTML::stylesheet( 'FVB_manager.css', 'administrator/components/com_feed_manager/assets/' );		
		JToolBarHelper::title( JText::_( 'Medias Receive' ).' <small>[Gold Version]</small>', 'news' );
		JToolBarHelper::save('cms.save');
		JToolBarHelper::preferences('com_feed_manager', '300');

			JSubMenuHelper::addEntry('Feeds Manager', 'index.php?option=com_feed_manager&task=feeds', false);
		JSubMenuHelper::addEntry('Contents', 'index.php?option=com_feed_manager&task=contents',false );
		JSubMenuHelper::addEntry('Medias Receive', 'index.php?option=com_feed_manager&task=medias', true);
		JSubMenuHelper::addEntry('About', 'index.php?option=com_feed_manager&task=about', false);
	}
}